package com.foreknow.service.impl;

import com.foreknow.dao.ConstantitemMapper;
import com.foreknow.dao.ConstanttypeMapper;
import com.foreknow.entity.Constanttype;
import com.foreknow.service.ConstanttypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ConstanttypeServiceImpl implements ConstanttypeService {
    @Autowired
    ConstanttypeMapper constanttypeMapper;

    @Override
    public List<Constanttype> queryAll() {
        return constanttypeMapper.selectAll();
    }
}
